home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2000 November / cd joystick no120 novembre 2000 cd 1.iso / data / demos / gunlok / data1.cab / Program_Executable_Files / scripts / lightbulb.gsh < prev    next >
Text File  |  2000-08-22  |  861b  |  32 lines

  1. // defines lightbulb
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_LIGHTBULB_GSH
  8. #define INCLUDED_LIGHTBULB_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11.  
  12. #include "corona_light.gsh"
  13.  
  14. shape Shp_Lightbulb
  15. {
  16.     file "objects\lightbulb.rif"
  17.     name "lightbulb"
  18. }
  19.  
  20. role Rol_Lightbulb : Rol_PlacedObject
  21. {
  22.     shape    Shp_Lightbulb
  23.     light    Lit_Corona
  24.     pgen    Pgn_Corona
  25.     identifier "lightbulb"
  26. }
  27.  
  28. ////////////////////////////////////////////////////////////////////////////////////
  29.  
  30. // end wrapper - for preventing multiple or recursive inclusions
  31. #endif // !INCLUDED_LIGHTBULB_GSH
  32.